import seckill_list from '../../views/seckill/seckill_list.vue';
import lottery_list from '../../views/lottery/lottery_list.vue';
import prize_list from '../../views/lottery/prize_list.vue';
import lottery_record_list from '../../views/lottery/lottery_record_list.vue';
import lottery_integral_buy_list from '../../views/lottery/lottery_integral_buy_list.vue';
export default {
  path: 'activity',
  name: '活动模块',
  meta: {
    requireAuth: true,
    icon:'el-icon-collection-tag'
  },
  children: [{
    path: 'seckill',
    name: '秒杀模块',
    meta: {
      requireAuth: true
    },
    children: [{
      path: 'seckill_list',
      name: '秒杀列表',
      component: seckill_list,
      meta: {
        requireAuth: true
      },
    }]
  },
  {
    path: 'lottery',
    name: '抽奖模块',
    meta: {
      requireAuth: true
    },
    children: [
      {
        path: 'lottery_list',
        name: '抽奖活动列表',
        component: lottery_list,
        meta: {
          requireAuth: true
        },
      },
      {
        path: 'prize_list',
        name: '奖品列表',
        component: prize_list,
        meta: {
          requireAuth: true
        },
      },
      {
        path: 'lottery_record_list',
        name: '抽奖明细列表',
        component: lottery_record_list,
        meta: {
          requireAuth: true
        },
      },
      {
        path: 'lottery_integral_buy_list',
        name: '积分抽奖明细列表',
        component: lottery_integral_buy_list,
        meta: {
          requireAuth: true
        },
      }
    ]
  }
]
}